package com.bestcem.xm.txtanls.service.dto.chart;

import lombok.Data;

import java.math.BigDecimal;

/**
 * 观点评价top
 * @author jy.zhao
 * @version 1.2
 * @date 2021/11/15 11:46
 **/
@Data
public class ViewpointEvaluationTopDTO {

    /**
     * 观点id
     */
    private String id;
    /**
     * 观点名字
     */
    private String name;
    /**
     * 占比
     */
    private BigDecimal ratio;

    public ViewpointEvaluationTopDTO(String id, String name, BigDecimal ratio) {
        this.id = id;
        this.name = name;
        this.ratio = ratio;
    }
}
